from likeshop_api_project.base.mybase import Tools

class goods_category_model(Tools):
    # 路径
    path = 'api/goods_category/lists'
    # 发送请求
    def goods_category_action(self, client):
        goods_category_data = {
            'client': client
        }
        goods_category = self.meeting.get(url=self.hosturl+self.path, params=goods_category_data)
        return goods_category.json()
